<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Spring Security Example</title>
    <script type="text/javascript" src="../static/js/jquery-2.0.min.js" th:src="@{/js/jquery-2.0.min.js}"></script>
</head>
<body>
<h1>Welcome!</h1>

<p>Click <a th:href="@{/hello}">here</a> to see a greeting.</p>

<div id="content">I am twx</div>

<script type="text/javascript">
    $(function () {
        var val =  $('#content').html();
        console.log("【val】",val);
    });
</script>
</body>
</html>